package com.kkd.MyIRule;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 14587
 * @date 2021/1/18 8:56
 */
@Configuration
public class MyRuleConfigure {
    @Bean//注册到spring
    public IRule myIRule(){
        return new MyIRule();
    }
}
